package com.kmxd.ams.infra.seal.setting;

import com.kmxd.ams.infra.seal.utils.ArchPdfSeal;
import java.awt.*;
import java.util.List;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 档号章设置
 *
 * @author zuolg
 */
@Data
@Accessors(chain = true)
public class SealSetting {
  /** 档号章 */
  private boolean enable = false;
  /** x坐标 */
  private int x = 60;
  /** y坐标 */
  private int y = 60;
  /** 背景色 */
  private Color bgColor;
  /** 线色 */
  private Color lineColor = Color.red;

  /** 线宽度 */
  private float lineWidth = 1f;

  /** 文字色 */
  private Color fontColor = Color.red;

  /** 表头字体 */
  private Font headerFont = new Font("宋体", Font.PLAIN, 12);

  /** 单元格字体 */
  private Font cellFont = new Font("宋体", Font.PLAIN, 12);

  /** 表头单元格 */
  private List<ArchPdfSeal> headCells;

  /** 要合并的列 */
  private int[] mergeColumns = new int[] {};

  /** 行高 */
  private int rowHeight = 10;

  /** 上边距 */
  private int marginY = 0;

  /** 左边距 */
  private int marginX = 0;

  /** 宽 */
  private int width = 180;

  /** 高 */
  private int height = 26;

  /** 定位x */
  private int positionX = 10;

  /** 定位y */
  private int positionY = 10;
}
